SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}La{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCity = 'La' OR prZip = 'La' OR prStreet LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}La{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCountry = 'La') AND (prLocation LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}Marina{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCity = 'Marina' OR prZip = 'Marina' OR prStreet LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}Marina{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCountry = 'Marina') AND (prLocation LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}del{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCity = 'del' OR prZip = 'del' OR prStreet LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}del{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCountry = 'del') AND (prLocation LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}Pinet{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCity = 'Pinet' OR prZip = 'Pinet' OR prStreet LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}Pinet{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCountry = 'Pinet') AND (prLocation LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}Spain{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}Spain{584dc87fd29eff7208d8fdc62198752a861a2d4e10bd5cbdda6f9f4b9261cc34}' OR prCountry = 'Spain')